
package com.modle;

import java.io.Serializable;

public class ChatMsgStruct implements Serializable{

    public static final String TYPE_TEXT="text";
    public static final String TYPE_VOICE="text";
    public static final String TYPE_COMEMSG="1";//接收msg标志
    public static final String TYPE_SENDMSG="0";//发送msg标志
	private static final long serialVersionUID = 1L;
	
	public String id;
    public String uid;
    public String fid;
	public String name;

    public String date;
    //内容
    public String text;
    
    public String time;
    public String thumb;//用户头像
    public boolean isComMeg = true;
    

    public String getThumb() {
		return thumb;
	}

	public void setThumb(String thumb) {
		this.thumb = thumb;
	}

	public String getTime() {
		return time;
	}

	public void setTime(String time) {
		this.time = time;
	}


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public boolean getMsgType() {
        return isComMeg;
    }

    public void setMsgType(boolean isComMsg) {
    	isComMeg = isComMsg;
    }

    public ChatMsgStruct() {
    }

    public ChatMsgStruct(String name, String date, String text, boolean isComMsg) {
        super();
        this.name = name;
        this.date = date;
        this.text = text;
        this.isComMeg = isComMsg;
    }

}
